export const datetimeUsage = `
import {PhDateTimePicker} from 'phoeon'
interface DatetimePicker{
    //全局主题色<dark|light|primary|success|danger|warning>
    theme:{
        type:String, 
        default:"dark" 
    },
    //周文案 ["日", "一", "二", "三", "四", "五", "六"] 
    weekText:{ 
        type:Array as PropType<Array<string>>
    },
    //重要节日的全局配置 [{title:'工资',md:'*-20'},{title:'浪',md:'*-9',desc:'去三里屯浪'}] 
    /*
        {
            title:自定义文案，默认为日期数字1-31，
            md:月份-日期 *标识每个月，
            desc:描述，鼠标悬浮，dom.title 会显示出来
        }
    */
    importants:{
        type:Array as PropType<Array<{title:string|number,md:string}>>
    },
    //语言切换 <cn|en> 
    lang:{
        type:String,
        default:"cn"
    },
    //启用清除按钮
    clear:{
        type:Boolean,
        default:true
    },
    //启用选择现在按钮
    now:{
        type:Boolean,
        default:true
    }
}
`;

export const others = `
import {
    PhModal,
    PhTooltip,
    PhToast,
    PhColorPicker,
    PhDatetimePicker,
    PhNotification,
    PhMessage,
    PhGLoading
    } from 'phoeon'
createApp(App)
.use(PhTooltip)
.use(PhGLoading)
.use(PhNotification)
.use(PhModal)
.use(PhToast)
.use(PhColorPicker)
.use(PhMessage)
.use(PhDatetimePicker,{
    theme:{
        type:String,
        default:"dark"
    },
    weekText:{
        type:Array as PropType<Array<string>>
    },
    importants:{
        type:Array as PropType<Array<{title:string|number,md:string}>>
    },
    lang:{
        type:String,
        default:"cn"
    },
    clear:{
        type:Boolean,
        default:true
    },
    now:{
        type:Boolean,
        default:true
    }
})
`;
